package com.hospital.phyexam.dao;

import com.hospital.phyexam.entity.PhyexamInfo;
import com.hospital.phyexam.entity.PhyexamInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PhyexamInfoMapper {
    /**
     * 通过学生学号查找体检信息
     * @param num
     * @return
     */
    List<PhyexamInfo> findPhyexamInfoByNum(@Param("num") String num);

    /**
     * 查找所有体检信息
     * @return
     */
    List<PhyexamInfo> findAllPhyexamInfo();

    long countByExample(PhyexamInfoExample example);

    int deleteByExample(PhyexamInfoExample example);

    int insert(PhyexamInfo record);

    int insertSelective(PhyexamInfo record);

    List<PhyexamInfo> selectByExample(PhyexamInfoExample example);

    int updateByExampleSelective(@Param("record") PhyexamInfo record, @Param("example") PhyexamInfoExample example);

    int updateByExample(@Param("record") PhyexamInfo record, @Param("example") PhyexamInfoExample example);
}